]> dgit.raspbian.org Git - gnome-shell.git/commit
st/entry: Invalidate shadow on cursor position/size changes
authorJonas Dreßler <verdre@v0yd.nl>
Fri, 5 Mar 2021 10:31:26 +0000 (11:31 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 14 Feb 2022 12:52:20 +0000 (12:52 +0000)
commit2bb36db9e823ca616ec8af52f502665a58100049
treefb0598ea4ef124939f386346707b8ee8822a1896
parente3d8c5a3720d06d0642428532b276f0f86c1da72
st/entry: Invalidate shadow on cursor position/size changes

When text shadows are used, the cursor indicating the current position
also casts a shadow.

This means we have to regenerate the shadow texture after the cursor
position changed, so invalidate the shadow in that case.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1744>
src/st/st-entry.c